package com.carrot.system.service;

import com.carrot.common.core.domain.dto.PointDataDto;
import com.carrot.common.core.domain.dto.StationCellTypeDto;
import com.carrot.common.core.domain.entity.SysStationCellType;
import com.carrot.common.core.domain.vo.StationCellPointDataVo;
import com.carrot.common.core.domain.vo.StationCellTypeVo;
import com.carrot.common.mybatis.IBaseService;

import java.util.List;
import java.util.Map;

public interface ISysStationCellTypeService extends IBaseService<SysStationCellType> {

    /**
     * 点表数据
     * @param stationId 场站Id
     */
    List<StationCellPointDataVo> getCellPointData(String stationId, String stationAlias,
                                                  String clusterNo, Map<String, PointDataDto> cellDataMap );

    /**
     * 点表配置
     * @param stationId
     * @return
     */
    List<StationCellTypeVo> getCellTypeConfigData(String stationId);

    void add(StationCellTypeDto dto);

    void update(StationCellTypeDto dto);

    void del(Long id);

    void batchDel(List<Long> ids);
}
